import sys
from todo_list_item import TodoListItem

class TodoList:
	"""docstring for TodoList"""
	
	def __init__(self):
		"""docstring for __init"""
		self.id = 0
		self.title = ""
		self.closed = "0"
		self.items = []
	
	def brief(self):
		"""docstring for brief"""
		totalItems = len(self.items)
		return self.id + ") " + self.title + " (" + str(totalItems) + " items)"